package com.mybatis.dao;


import com.mybatis.entity.Customer;
import org.mybatis.spring.support.SqlSessionDaoSupport;

public class CustomerDaoImpl extends SqlSessionDaoSupport implements CustomerDao {
   @Override
    public void show(){
       System.out.println("aaa");
    }
    @Override
    public Customer findCustomerById(Integer id) {
        return this.getSqlSession().selectOne("com.mybatis.mapper.CustomerMapper.findCustomerById",id);
    }
}
